package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisualMap;
import com.xjgzinfo.usdp.service.dto.BladeVisualMapDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisualMap} and its DTO {@link BladeVisualMapDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualMapMapper extends EntityMapper<BladeVisualMapDTO, BladeVisualMap> {


    default BladeVisualMap fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisualMap bladeVisualMap = new BladeVisualMap();
        bladeVisualMap.setId(id);
        return bladeVisualMap;
    }
}
